package com.znsd.dining.room.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName TestService
 * @Description: TODO
 * @Author timi
 * @Date 2020/1/2
 * @Time 23:39
 * @Version V1.0
 **/
@FeignClient(name = "dining-room", fallbackFactory = DeptServerFallBackFactory.class)
public interface TestService {
    @RequestMapping("/test")
    public String depst();
}
